import service from "./request"

// 登录接口
export function login(data){
    return service({
        url:"user/login",
        method:"post",
        data:data
    })
}

// 验证接口
export function loginStatus(){
    return service({
        url:"user/login/status",
        method:"get",
      
    })
}
// 退出登录
export function logout(){
    return service({
        url:"user/logout",
        method:"get",
      
    })
}